﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sys_dept_frame.aspx.cs" Inherits="Ccit.SysPlat.Organ.sys_dept_frame" %>

<html style="height:100%">
<head runat="server">
    <title></title>
    <link rel="Stylesheet" href="../css/main.css" type="text/css" />
    <script type="text/javascript" src="../script/jquery.js"></script>
    <script type="text/javascript" src="../script/jbase64.js"></script>
    <script type="text/javascript">
    <!--
        function doAddNew() {
            var vOrganId = $get("_hidOrganId").value;
            var strURL = "./sys_dept_edit.aspx?";
            var vPageParam = "organId=" + vOrganId;
            var encodeURL = strURL + base64encode(vPageParam);
            self.frames[1].document.location.href = encodeURL;
        }
    //-->
    </script>
</head>
<body scroll="no">
    <form id="form1" runat="server"> 
    <input type="hidden" id="_hidOrganId" runat="server" />   
    <asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true" runat="server">
    </asp:ScriptManager>
    <table class="tbToolbar" cellpadding="0" cellspacing="0" width="98%" align="center">
        <tr>
            <td align="left">
                <div class="tbSeparator"></div>
            </td>
            <td width="100%" class="titlebar">
                系统管理 - > 部门设置
            </td>
            <td align="right">
                <div class="tbSeparator"></div>
            </td>              
            <td align="right">
                <nobr>
                    <a href="javascript:doAddNew()" class="linktext">
                        <img src="../images/toolbar/addnew.gif" border="0" />新增
                    </a>
                </nobr>
            </td>  
            <td align="right">
                <div class="tbSeparatorEnd"></div>
            </td>
        </tr>
    </table>
    <table class="tableNoTopRight" cellpadding="0" cellspacing="0" width="98%" style="height:100%" align="center">
        <tr>
            <td width="25%" valign="top">
                <iframe id="iFrmTree" name="iFrmTree" height="100%" width="98%" scrolling="auto"
						src="" style="BORDER-RIGHT: #000000 1px solid;MARGIN:0" marginheight="0" marginwidth="0" frameborder="0"></iframe>
            </td>
            <td width="75%">
                <iframe id="iFrmEdit" name="iFrmEdit" height="100%" width="100%" scrolling="no"
						src="" frameborder="0"></iframe>
            </td>
        </tr>
    </table>
    </form>
    <script type="text/javascript">
    <!--
        $(document).ready(function() {
            var vOrganId = $get("_hidOrganId").value;
            var vPageParam = "organId=" + vOrganId;
            var encodeParam = base64encode(vPageParam);
            $get("iFrmTree").src = "./sys_dept_tree.aspx?" + encodeParam;
            $get("iFrmEdit").src = "./sys_dept_edit.aspx?" + encodeParam;
        });
    //-->
    </script>
</body>
</html>
